<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>行业资讯 - 智能机器人产业平台</title>
    <style>
        :root {
            --primary: #00f7ff;
            --secondary: #4a4aff;
            --dark: #0a0a2e;
            --bg-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft Yahei', sans-serif;
        }

        body {
            background: var(--dark);
            color: white;
            line-height: 1.6;
        }

        .nav-bar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 10, 46, 0.9);
            backdrop-filter: blur(10px);
            padding: 1rem;
            z-index: 1000;
            transition: 0.3s;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            background: var(--bg-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-menu {
            display: flex;
            gap: 2rem;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: 0.3s;
        }

        .nav-menu a:hover {
            background: var(--bg-gradient);
        }

        .hero {
            height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: 60px;
            background: radial-gradient(circle at center,
                    rgba(0, 247, 255, 0.1) 0%,
                    rgba(10, 10, 46, 1) 70%);
        }

        .search-box {
            width: 60%;
            max-width: 600px;
            position: relative;
        }

        #searchInput {
            width: 100%;
            padding: 1.2rem;
            border: 2px solid var(--primary);
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1.1rem;
            backdrop-filter: blur(5px);
            transition: 0.3s;
        }

        #searchInput:focus {
            outline: none;
            box-shadow: 0 0 20px var(--primary);
        }

        .grid-container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .card {
            background: rgba(255, 255, 255, 0.05);
            padding: 1.5rem;
            border-radius: 15px;
            border: 1px solid rgba(0, 247, 255, 0.2);
            transition: 0.3s;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg,
                    transparent,
                    var(--primary),
                    transparent);
            transform: rotate(45deg);
            transition: 0.5s;
            opacity: 0;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 247, 255, 0.2);
        }

        .card:hover::before {
            opacity: 0.3;
            animation: borderFlow 3s linear infinite;
        }

        @keyframes borderFlow {
            0% {
                transform: rotate(45deg) translate(-30%, -30%);
            }

            100% {
                transform: rotate(45deg) translate(30%, 30%);
            }
        }

        .footer {
            background: rgba(0, 0, 0, 0.3);
            padding: 2rem;
            margin-top: 3rem;
            text-align: center;
        }

        /* 新增列表页专属样式 */
        .list-container {
            max-width: 1200px;
            margin: 100px auto 2rem;
            padding: 0 1rem;
        }

        .filter-bar {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
        }

        .filter-btn {
            padding: 0.8rem 1.5rem;
            border: 1px solid var(--primary);
            border-radius: 20px;
            background: transparent;
            color: white;
            cursor: pointer;
            transition: 0.3s;
        }

        .filter-btn.active {
            background: var(--bg-gradient);
            border-color: transparent;
        }

        .article-list {
            display: grid;
            gap: 1.5rem;
        }

        .article-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 1.5rem;
            border: 1px solid rgba(0, 247, 255, 0.2);
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 1.5rem;
            transition: 0.3s;
        }

        .article-thumb {
            height: 150px;
            background: var(--bg-gradient);
            border-radius: 10px;
            position: relative;
            overflow: hidden;
        }

        .article-thumb::after {
            content: "ROBOT NEWS";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 0.5rem;
            font-size: 0.9em;
            text-align: center;
        }

        .article-content {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .article-meta {
            display: flex;
            gap: 1rem;
            color: var(--primary);
            font-size: 0.9em;
        }

        .article-tag {
            background: rgba(0, 247, 255, 0.2);
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
        }

        .pagination {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 3rem;
        }

        .page-btn {
            padding: 0.8rem 1.2rem;
            border: none;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            cursor: pointer;
            transition: 0.3s;
        }

        .page-btn.active {
            background: var(--bg-gradient);
            box-shadow: 0 0 10px var(--primary);
        }

        /* 悬停动画 */
        .article-item:hover {
            transform: translateX(10px);
            box-shadow: 5px 5px 15px rgba(0, 247, 255, 0.2);
        }

        @media (max-width: 768px) {
            .article-item {
                grid-template-columns: 1fr;
            }

            .article-thumb {
                height: 200px;
            }
        }
    </style>
</head>

<body>
    <nav class="nav-bar">
        <div class="nav-container">
            <div class="logo">ROBOT INDUSTRY</div>
            <div class="nav-menu">
                <a href="index.html">首页</a>
                <a href="#news" class="active">行业资讯</a>
                <a href="#products">产品库</a>
                <a href="#jobs">人才招聘</a>
            </div>
        </div>
    </nav>

    <div class="list-container">
        <div class="filter-bar">
            <button class="filter-btn active">全部</button>
            <button class="filter-btn">技术前沿</button>
            <button class="filter-btn">行业政策</button>
            <button class="filter-btn">市场动态</button>
            <button class="filter-btn">展会信息</button>
        </div>

        <div class="article-list">
            <!-- 文章条目 示例1 -->
            <article class="article-item">
                <div class="article-thumb"></div>
                <div class="article-content">
                    <div>
                        <h3>2024全球机器人产业峰会即将开幕</h3>
                        <p class="article-meta">
                            <span>📅 2024-03-15</span>
                            <span class="article-tag">展会信息</span>
                            <span>👁️ 1520浏览</span>
                        </p>
                        <p>本次峰会将汇聚全球顶尖机器人企业，展示最新人形机器人、工业自动化解决方案和AI核心技术...</p>
                    </div>
                    <a href="#" style="color: var(--primary); align-self: flex-start;">阅读全文 →</a>
                </div>
            </article>

            <!-- 文章条目 示例2 -->
            <article class="article-item">
                <div class="article-thumb"></div>
                <div class="article-content">
                    <div>
                        <h3>新型柔性机械臂突破传统工业限制</h3>
                        <p class="article-meta">
                            <span>📅 2024-03-14</span>
                            <span class="article-tag">技术前沿</span>
                            <span>👁️ 2345浏览</span>
                        </p>
                        <p>MIT研发团队最新发布的柔性机械臂采用仿生结构设计，可实现毫米级精准操作，已通过工业4.0标准测试...</p>
                    </div>
                    <a href="#" style="color: var(--primary); align-self: flex-start;">阅读全文 →</a>
                </div>
            </article>

            <!-- 更多文章条目... -->
        </div>

        <div class="pagination">
            <button class="page-btn active">1</button>
            <button class="page-btn">2</button>
            <button class="page-btn">3</button>
            <button class="page-btn">4</button>
            <button class="page-btn">下一页</button>
        </div>
    </div>

    <footer class="footer">
        <p>© 2024 智能机器人产业平台 ｜ 资讯合作：news@robot-industry.com</p>
    </footer>

    <script>
        // 筛选功能
        document.querySelectorAll('.filter-btn').forEach(btn => {
            btn.addEventListener('click', function () {
                document.querySelector('.filter-btn.active').classList.remove('active');
                this.classList.add('active');
                // 此处可添加实际筛选逻辑
            });
        });

        // 分页交互
        document.querySelectorAll('.page-btn').forEach(btn => {
            btn.addEventListener('click', function () {
                document.querySelector('.page-btn.active').classList.remove('active');
                this.classList.add('active');
                // 此处可添加分页加载逻辑
            });
        });

        // 文章点击交互
        document.querySelectorAll('.article-item').forEach(item => {
            item.addEventListener('click', function (e) {
                if (!e.target.closest('a')) {
                    window.location.href = 'article-detail.html';
                }
            });
        });
    </script>
</body>

</html>